package com.nsu.evaluation.pojo;

import java.util.Date;

public class Class {
    private String id;

    private String className;

    private Integer classYear;

    private Integer scholasticYear;

    private String teacherId;

    private Date createTime;

    private Date updateTime;

    private String createUser;

    public Class(String id, String className, Integer classYear, Integer scholasticYear, String teacherId, Date createTime, Date updateTime, String createUser) {
        this.id = id;
        this.className = className;
        this.classYear = classYear;
        this.scholasticYear = scholasticYear;
        this.teacherId = teacherId;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.createUser = createUser;
    }

    public Class() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className == null ? null : className.trim();
    }

    public Integer getClassYear() {
        return classYear;
    }

    public void setClassYear(Integer classYear) {
        this.classYear = classYear;
    }

    public Integer getScholasticYear() {
        return scholasticYear;
    }

    public void setScholasticYear(Integer scholasticYear) {
        this.scholasticYear = scholasticYear;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId == null ? null : teacherId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }
}